/**************************************************************************************************
* Title: Windows.h
* Authors: Gael Huber
* Description: Defines a standard win32 window.
**************************************************************************************************/
#ifndef __WINDOW_H__
#define __WINDOW_H__

#include "SmurfsGlobals.h"
#include <GL/GL.h>
#include <GL/GLU.h>

class Window {
public: 
	Window(void);	// Constructor
	~Window(void);	// Destructor

	bool startUp(wchar_t* windowName, int width, int height, int bits);	// Initialize the window
	void shutDown(void);	// Shutdown the window
	void resize(void);	// Setup the window to utilize OpenGL

	// Getters
	HDC getHDC(void) { return hDC; }

private:
	HGLRC hRC;	// Permanent rendering context
	HDC hDC;	// Private GDI device context
	HWND hWnd;	// Window handle
	HINSTANCE hInstance;	// Window instance
};

#endif